{extend name="$admin_layout"/}

{block name="content"}
<div class="panel">
    <div class="panel-heading">
        <div class="panel-title">添加会员账户</div>
    </div>
    <form class="panel-body" method="post" action="">
        <fieldset class="form-group">
            <label>会员组</label>
            <select class="custom-select form-control" name="groupid">
                {volist name="glist" id="vo"}
                  <option value="{$key}">{$vo}</option>
                {/volist}
            </select>
        </fieldset>
        <fieldset class="form-group">
            <label>账户*</label>
            <input type="text" class="form-control" name="account" placeholder="登录账户" value="">
        </fieldset>
        <fieldset class="form-group">
            <label>密码*</label>
            <input type="password" class="form-control" name="password" placeholder="6-20位" value="">
        </fieldset>
        <fieldset class="form-group" >
            <label>确认密码*</label>
            <input type="password" class="form-control" name="password_confirm" placeholder="再次输入密码" value="">
        </fieldset>
        <fieldset class="form-group">
            <label>单位名称*</label>
            <input type="text" class="form-control" name="company" placeholder="单位名称" value="">
        </fieldset>
        <fieldset class="form-group">
            <label>单位地址*</label>
            <input type="text" class="form-control" name="address" placeholder="单位地址" value="">
        </fieldset>
        <fieldset class="form-group">
            <label>联系人姓名*</label>
            <input type="text" class="form-control" name="nickname" placeholder="联系人姓名" value="">
        </fieldset>
        <fieldset class="form-group">
            <label>手机号码</label>
            <input type="number" class="form-control" name="telephone" placeholder="手机号码" value="">
        </fieldset>
        <fieldset class="form-group">
            <label>邮箱</label>
            <input type="email" class="form-control" name="email" placeholder="邮箱" value="">
        </fieldset>
        <fieldset class="form-group">
            <label>状态</label>
            <label for="switcher-primary" class="switcher switcher-primary">
                <input type="checkbox" name="status" value="1" id="switcher-primary" checked="">
                <div class="switcher-indicator">
                    <div class="switcher-yes">启用</div>
                    <div class="switcher-no">禁用</div>
                </div>
                &nbsp;
            </label>
        </fieldset>
        <div class="panel-footer text-right">
            <input type="submit" class="btn btn-primary" value="确认添加">
        </div>
    </form>
</div>
{/block}

{block name="javascript"}
<script>
    $(function () {

    });
</script>
{/block}